﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace PlanoAulaHelper
{
    public partial class relNotasForm : FormEdicao
    {
        public relNotasForm(int idPlanoAula) : base(idPlanoAula)
        {
            InitializeComponent();
        }
        private void AtualizarDadosRelatorio()
        {
            rel.RelatorioAvaliacao.Clear();
            //rel.RelatorioAvaliacao.Merge(Reports.Relatorios.ObterDadosRelatorioAvaliacao(IdItem));
            rel.AcceptChanges();
        }
        private void VisualizarPlanejamentoAvaliacaoForm_Load(object sender, EventArgs e)
        {
            AtualizarDadosRelatorio();
            this.rptNotas.RefreshReport();
        }

        private void reportViewer1_ReportRefresh(object sender, CancelEventArgs e)
        {
            AtualizarDadosRelatorio();
        }
    }
}
